const enum Enum8 {
    A = 1,
    B = A * 2
}
console.log(Enum8.B)

const enum Directions {
    Up,
    Down,
    Left,
    Right
}

let directions = [Directions.Up, Directions.Down, Directions.Left, Directions.Right]